Yes, it looks similar to the issue you linked to, only git reset
and git diff
doesn’t seem to resolve the problem. From https://gitlab.com/software-garden/website/-/jobs/1128943915#L475 :
$ git reset --hard HEAD
HEAD is now at 4e01fc8 CI: Print all metadata, not just URL
$ git diff-index HEAD
$ nix --experimental-features "nix-command flakes" flake metadata --json | jq
warning: Git tree '/builds/software-garden/website' is dirty
{
"description": "Software Garden website: https://software.garden/",
"lastModified": 0,
"locked": {
"lastModified": 0,
"narHash": "sha256-fORDWJoDaSRWxpTDdkjjtpIV9zRADX/1Nip+Xm9Igpo=",
"type": "git",
"url": "file:///builds/software-garden/website"
},
"locks": {
"nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1606424373,
"narHash": "sha256-oq8d4//CJOrVj+EcOaSXvMebvuTkmBJuT5tzlfewUnQ=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "99f1c2157fba4bfe6211a321fd0ee43199025dbf",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1614513358,
"narHash": "sha256-LakhOx3S1dRjnh0b5Dg3mbZyH0ToC9I8Y2wKSkBaTzU=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5466c5bbece17adaab2d82fae80b46e807611bf3",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1615449093,
"narHash": "sha256-Twp4oj4XL104Oqnx+li3Frf4osEGwjCPtiipsgGq0tA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d211397507f5321d53fc6bf9282adb5aed5909ca",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
},
"original": {
"type": "git",
"url": "file:///builds/software-garden/website"
},
"originalUrl": "git+file:///builds/software-garden/website",
"path": "/nix/store/kmg5mzfiz3hcpbx8i9cjpmwxsy6g8k28-source",
"resolved": {
"type": "git",
"url": "file:///builds/software-garden/website"
},
"resolvedUrl": "git+file:///builds/software-garden/website",
"url": "git+file:///builds/software-garden/website"
}